<script type="text/javascript" src="./linq.js"></script>
<script type="text/javascript">

$imports(["modules/m1.js", "modules/m2.js", "modules/m3.js"], () => {
	$ts(() => alert($ts("#text").innerText));

	console.log("Sleep function comes from the dynamics loaded script:");
	sleep(1000);

	console.log("test success");
}, true);

</script>

<script type="text/javascript">

 for(var t = Date.now();Date.now() - t <= 200;);

</script>

<div id="text">22222222222</div>